public class theController {

   String searchText;
   List<Contact> results;

   public String getSearchText() {
      return searchText;
   }

   public void setSearchText(String s) {
      searchText = s;
   }

   public List<Contact> getResults() {
      return results;
   }

   public PageReference doSearch() {
      results = (List<Contact>)[FIND :searchText RETURNING Contact(Name,email,phone)][0];
      return null;
   }
}